package com.general.framework.example.simpleFactoryPattern;

public class SimpleFactoryTest1 {
    public static void main(String[] args) {
        ICourse course = new JavaCourse();
        course.record();

        ICourse pythonCourse = new PythonCourse();
        pythonCourse.record();
    }
}
